package com.vhall.component.entity.account.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lsl
 * @since 2021/7/29
 */
@Data
public class AdmEditStatusReqVO implements Serializable {

    @ParamName("admin_id")
    @NotNull(message = "admin_id不能为空")
    private Integer adminId;

    @Range(max = 1, min = 0, message = "status只能为0和1")
    @NotNull(message = "status不能为空")
    private Integer status;
}
